﻿using HiSport.Core.Entity.HiSportEntity.Bas;

namespace HiSport.Application.HiSportService.Bas.BasVenuesManagement.Dtos
{
    /// <summary>
    /// 创建/修改场馆输入参数
    /// </summary>
    public class BasVenuesCreateUpdateInputDto 
    {

        public long Id { get; set; }

        ///// <summary>
        ///// 机构ID
        ///// </summary
        //public long OrgId { get; set; }

        public  long? CreateOrgId { get; set; }

        /// <summary>
        /// 场馆编码
        /// </summary>
        public string VenuesCode { get; set; }

        /// <summary>
        /// 场馆名称
        /// </summary>
        public string VenuesName { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string ContactPerson { get; set; }

        /// <summary>
        /// 移动电话
        /// </summary>
        public string Mobile { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        public string Province { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        public string City { get; set; }


        /// <summary>
        /// 区
        /// </summary>
        public string Area { get; set; }


        /// <summary>
        /// 详细地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 经度
        /// </summary>
        public string Longitude { get; set; }

        /// <summary>
        /// 纬度
        /// </summary>
        public string Latitude { get; set; }



        /// <summary>
        /// 营业时间-开始时间
        /// </summary>
        public DateTime TimeStart { get; set; }

        /// <summary>
        /// 营业时间-结束时间
        /// </summary>
        public DateTime TimeEnd { get; set; }

        /// <summary>
        /// 场地起订时间的值默认分钟
        /// </summary>
        [SugarColumn(ColumnDescription = "场地起订时间的值(分钟)", DefaultValue = "0", IsNullable = false)]
        public int TimeValue { get; set; }

        /// <summary>
        /// 营业状态-数据字典值
        /// 对应字典值BAS_OperatingStatus
        /// </summary>
        [SugarColumn(ColumnDescription = "营业状态", DefaultValue = "", IsNullable = false, Length = 50)]
        public OperatingStatusEnum OperatingStatus { get; set; }

        /// <summary>
        /// 场馆介绍
        /// </summary>
        [SugarColumn(ColumnDescription = "场馆介绍", DefaultValue = "", IsNullable = false)]
        public string Describe { get; set; }

        /// <summary>
        /// 场馆-关联运动项目类型
        /// </summary>
        public List<EventsTypeCreateUpdateInputDto> EventsTypeList { get; set; }

        /// <summary>
        /// 场馆-图片列表
        /// </summary>
        public List<ImageListCreateUpdateInputDto> ImageList { get; set; }
    }

    public class EventsTypeCreateUpdateInputDto
    {
        public string SportsEventsTypeCode { get; set; }
    }

    public class ImageListCreateUpdateInputDto
    {
        public string Images { get; set; }
    }
}
